﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Masterpage/CommonPage.master" AutoEventWireup="true"
    CodeFile="AddMap.aspx.cs" Inherits="LearningMap_AddMap"  ValidateRequest="false" EnableEventValidation="true" %>
<%@ Register TagPrefix="editor" Assembly="WYSIWYGEditor" namespace="InnovaStudio" %>
<%@ Register Assembly="Expo.Training.BRule" Namespace="Expo.Training.BRule.Controls" TagPrefix="CC" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="pagenav">
        <b>您现在的位置：</b>我的管理平台 > <strong><a href="Default.aspx">地图管理</a></strong> > 添加地图
    </div>
    <div style="overflow: auto;">
        <!--paneltitle-->
        <div class="paneltitle">
            地图基本信息</div>
        <div class="paneladd">
            <input type="button" class="btn" value=" 返 回 " onclick="javascript:location.href='Default.aspx'" />
        </div>
    </div>
    <div class="dataform">
        <table cellspacing="1">
            <tr>
                <th>
                    <div>
                        学习点位置选择：</div>
                </th>
                <td>
                    <asp:DropDownList ID="ddlPlace" runat="server" Width="200px">
                        <asp:ListItem Selected="True"></asp:ListItem>
                        
                        <asp:ListItem Value="0">龙山镇(慈溪)</asp:ListItem>
                        <asp:ListItem Value="3">掌起镇(慈溪)</asp:ListItem>
                        <asp:ListItem Value="4">观海卫镇(慈溪)</asp:ListItem>
                        <asp:ListItem Value="5">桥头镇(慈溪)</asp:ListItem>
                        <asp:ListItem Value="6">逍林镇(慈溪)</asp:ListItem>
                        <asp:ListItem Value="7">附海镇(慈溪)</asp:ListItem>
                        <asp:ListItem Value="8">匡堰镇(慈溪)</asp:ListItem>
                        <asp:ListItem Value="9">胜山镇(慈溪)</asp:ListItem>
                        <asp:ListItem Value="10">横河镇(慈溪)</asp:ListItem>
                        <asp:ListItem Value="11">新浦镇(慈溪)</asp:ListItem>
                        <asp:ListItem Value="12">崇寿镇(慈溪)</asp:ListItem>
                        <asp:ListItem Value="14">庵东镇(慈溪)</asp:ListItem>
                        <asp:ListItem Value="15">长河镇(慈溪)</asp:ListItem>
                        <asp:ListItem Value="17">周巷镇(慈溪)</asp:ListItem>
                        <asp:ListItem Value="13">坎墩街道(慈溪)</asp:ListItem>
                        <asp:ListItem Value="18">宗汉街道(慈溪)</asp:ListItem>
                        <asp:ListItem Value="19">古塘街道(慈溪)</asp:ListItem>
                        <asp:ListItem Value="20">白沙路街道(慈溪)</asp:ListItem>
                        <asp:ListItem Value="21">浒山街道(慈溪)</asp:ListItem>
                        
                         <asp:ListItem Value="22">巴马镇(巴马)</asp:ListItem>
                        <asp:ListItem Value="23">燕洞乡(巴马)</asp:ListItem>
                        <asp:ListItem Value="24">甲篆乡(巴马)</asp:ListItem>
                        <asp:ListItem Value="25">那社乡(巴马)</asp:ListItem>
                        <asp:ListItem Value="26">所略乡(巴马)</asp:ListItem>
                        <asp:ListItem Value="27">局桑乡(巴马)</asp:ListItem>
                        <asp:ListItem Value="28">西山乡(巴马)</asp:ListItem>
                        <asp:ListItem Value="29">平洞乡(巴马)</asp:ListItem>
                        <asp:ListItem Value="30">东山乡(巴马)</asp:ListItem>
                        <asp:ListItem Value="31">凤凰乡(巴马)</asp:ListItem>
                        <asp:ListItem Value="32">百林乡(巴马)</asp:ListItem>
                        <asp:ListItem Value="33">那桃乡(巴马)</asp:ListItem>

                    </asp:DropDownList>
                </td>
            </tr>
             <tr>
                <th width="20%">
                    <div>
                        学习点类型：</div>
                </th>
                <td width="80%">
                    <asp:RadioButtonList ID="rbType" runat="server" RepeatDirection="Horizontal" 
                        Width="200px" AutoPostBack="True" 
                        onselectedindexchanged="rbType_SelectedIndexChanged">
                        <asp:ListItem Selected="True" Value="0">本社区</asp:ListItem>
                        <asp:ListItem Value="1">子社区</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr id="trLearnPlace" runat="server">
                <th width="20%">
                    <div>
                        学习点名称：</div>
                </th>
                <td width="80%">
                    <asp:TextBox ID="txtLocalName" runat="server" CssClass="txtBox" Width="200px" Text="0"/>&nbsp;<font
                        color="red">*</font><span id="sp_txtLocalName_error" class="note2"></span>
                </td>
            </tr>
            <tr>
                <th>
                    <div>
                        主页：</div>
                </th>
                <td>
                    <asp:TextBox ID="txtPageSite" runat="server" CssClass="txtBox" Width="200px" />
                </td>
            </tr>
            <tr>
                <th>
                    <div>
                        学习点介绍：</div>
                </th>
                <td>
                  <%-- <asp:TextBox ID="txtDescription" runat="server" Height="250px" 
                        TextMode="MultiLine" Width="550px"></asp:TextBox>--%>
                    <CC:CecEditor4 runat="server" ID="ED_Editor" AllowFileManager="true" EditorWidth="590" EditorHeight="260" 
                    ResizeType="1" ScriptFile="../kindeditor4/kindeditor.js" UploadHandle="../KindEditor4/upload_json.ashx" 
                    FileManageHandle="../KindEditor4/file_manager_json.ashx" ResizeMode="1"></CC:CecEditor4>
                </td>
            </tr>
            <tr>
                <th>
                    <div>
                    </div>
                </th>
                <td>
                   <%-- <input type="button" name="btSubmit" id="btSubmit" onclick="return checkSubmitForm();"
                        value=" 保  存 " class="btn" />
                    <asp:LinkButton ID="lbtSubmit" runat="server" Text="" OnClick="DoAdd" />--%>
                    <asp:Button ID="btnSave" runat="server" Text="保存" onclick="DoAdd" />
                </td>
            </tr>
        </table>
    </div>

    <%--<script type="text/javascript">
        function checkSubmitForm() {
            $("btSubmit").disabled = true;
            __doPostBack('ctl00$ContentPlaceHolder1$lbtSubmit', '');
        }
    </script>--%>

</asp:Content>
